//
//  CALayer+Frame.h
//  WCGradientLayerExample
//
//  Created by 陈晓强 on 2016/12/27.
//  Copyright © 2016年 huangwenchen. All rights reserved.
//

#import <QuartzCore/QuartzCore.h>

@interface CALayer (Frame)
@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGPoint center;
@property (nonatomic, assign) CGFloat centerX;
@property (nonatomic, assign) CGFloat centerY;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, assign) CGSize size;

@property (nonatomic, assign) CGFloat top;
@property (nonatomic, assign) CGFloat bottom;
@property (nonatomic, assign) CGFloat left;
@property (nonatomic, assign) CGFloat right;
@end
